package com.example.myapplication.entity;

/**
 * 用户类
 */
public class User {

    private String userName; // 用户名
    private String password; // 密码
    private String email; // 邮箱
    private String portrait; //头像

    public User() {
    }

    public User(String userName, String password, String email, String portrait) {
        this.userName = userName;
        this.password = password;
        this.email = email;
        this.portrait = portrait;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }
}
